﻿<%@ Page Title="级别管理" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContentPlaceHolder" runat="server">
    <%-- START 头部区域  --%>
    <link href="../../Scripts/JQuery/ColorPicker/css/colorpicker.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/JQuery/ColorPicker/colorpicker.js" type="text/javascript"></script>
    <link href="../../Content/Level.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/Level.js" type="text/javascript"></script>
    <%-- END 头部区域  --%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="NorthContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="WestContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="EastContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="SouthContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="CenterContentPlaceHolder" runat="server">
    <%-- START 中间区域  --%>
	<div region="center">        <table id="level-table" ></table>
        <div id="leveltable-toolbar">            <div >                <a href="#" id="new-level" class="easyui-linkbutton" icon="icon-tableadd" plain="true">新建</a>  
                <a href="#" id="edit-level" class="easyui-linkbutton" icon="icon-tableedit"  plain="true">编辑</a>  
                <a href="#" id="delete-level" class="easyui-linkbutton" icon="icon-tabledelete"  plain="true">删除</a> 
                <a href="#" id="allow-level" class="easyui-linkbutton" icon="icon-enabled"  plain="true">启用</a>  
                <a href="#" id="forbid-level" class="easyui-linkbutton" icon="icon-invalid"  plain="true">禁用</a>                 <span style="margin-right:5px;">级别名称:</span>               <input id="slevelname"  type="text" class="text-filed"  />               <a href="#" id="search-level" class="easyui-linkbutton" icon="icon-search"  plain="true">搜索</a>                        </div>        </div>
	</div>    
	 <%-- END 中间区域  --%>    
</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="BlankContentPlaceHolder" runat="server">
    <%-- START 级别窗体 --%>
    <div id="level-window" noheader="false" class="easyui-window" title="新建级别" collapsible="false" minimizable="false" closable="true"
            maximizable="false" iconCls="icon-add" modal="true" resizable="false" style="width:350px;height:240px;">     
        <%-- START 级别窗体布局 --%>  
        <div class="easyui-layout" fit="true">
            <%-- START 级别窗体中间区域 --%>  
            <div region="center" border="false" class="center-panel">
                <%-- START 级别表单 --%>
                <form id="level-form" method="post" >
                    <fieldset>
                        <legend>级别信息</legend>
                        <table id="level-layout">
                            <%-- START 级别编号(隐藏) --%>
                                     <input  id="levelid"  type="hidden"  name="LevelID"  />   
                            <%-- END 级别编号 --%>

                            <%-- START 级别名称 --%>
                            <tr>
                                <td class="field-label">级别名称：</td>
                                <td class="field-input" title="请填写级别名称,16个字符(8个汉字).">
                                     <span class="required">*</span> 
                                     <input  id="levelname"  type="text" class="text-filed"  name="LevelName" maxlength="16"   />   
                                 </td>
                            </tr>
                            <%-- END 级别名称 --%>

                            <%-- START 单数 --%>
                            <tr>
                                <td class="field-label">单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数：</td>
                                <td class="field-input" title="请选择(输入)单数,最小为1,最大为100.">
                                     <span class="required">*</span> 
                                     <input  id="billcount"  type="text" class="number-field" style="width:150px;"  name="BillCount"  />   
                                 </td>
                            </tr>
                            <%-- END 单数 --%>

                            <%-- START 标识颜色 --%>
                            <tr>
                                <td class="field-label">标识颜色：</td>
                                <td class="field-input" title="请选择标识颜色.">
                                     <span class="required">*</span> 
                                     <input  id="levelcolor"  type="text" value="f0f0f0" readonly="readonly" class="text-filed"  name="LevelColor" maxlength="10"   />   
                                 </td>
                            </tr>
                            <%-- END 标识颜色 --%>

                            <%-- START 是否启用 --%>
                            <tr>
                                <td class="field-label"></td>
                                <td class="field-input" title="请选择启用状态.">
                                     <span class="required">*</span> 
                                     <input  id="isenabled"  type="checkbox" checked="checked" name="IsEnabled" value="true" /> 
                                     <label for="isenabled">是否启用  </label>
                                 </td>
                            </tr>
                            <%-- END 是否启用 --%>

                        </table>
                    </fieldset>
                </form>
                <%-- END 级别表单 --%>
            </div>
            <%-- END 级别窗体中间区域 --%>

            <%-- START 级别窗体底部区域 --%>
            <div region="south" border="false"  class="south-panel">                              
                <a id="handle-form" class="easyui-linkbutton" iconCls="icon-tableadd" href="javascript:void(0)">添加</a> 
                <a id="reset-form"  class="easyui-linkbutton" iconCls="icon-tablerefresh" href="javascript:void(0)">重置</a>
            </div>
            <%-- END 级别窗体底部区域 --%>
        </div>
        <%-- END 级别窗体布局 --%>
    </div>
    <%-- END 级别窗体 --%>   
</asp:Content>
